﻿using System;

namespace ECommerce
{
	public partial class Guide : BasePage
	{
		protected void Page_PreRender(object sender, EventArgs e)
		{
			//if(!IsPostBack)
			//{
			var service = new Service.ProductAdditionalPropertyService();
			var theCustomerMustKnownContent = service.GetTheProductAdditionalPropertyByName("CustomerMustKnownContent");

			if (theCustomerMustKnownContent != null)
			{
				Title = GetLocalResourceString("Ecommerce.PageTitle.Guide");

				LiteralGuideContent.Text = theCustomerMustKnownContent.PropertyValue;
			}
			//}
		}
	}
}
